//
//  XMGFriendTrendsViewController.m
//  百思不得姐
//
//  Created by 杨庆 on 2016/12/30.
//  Copyright © 2016年 杨庆. All rights reserved.
//

#import "XMGFriendTrendsViewController.h"
#import "XMGRecommendViewController.h"
#import "XMGLoginRegisterController.h"

@interface XMGFriendTrendsViewController ()

@end

@implementation XMGFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	XMGLog(@"%s",__func__);
	//设置背景色
	self.view.backgroundColor= XMGColorbg;
	self.navigationItem.title=@"我的关注";
	UIBarButtonItem*friendItem=[UIBarButtonItem itemWithImage:@"friendsRecommentIcon" highImage:@"friendsRecommentIcon-click" target:self action:@selector(friendsBtnClick)];
	
	self.navigationItem.leftBarButtonItem=friendItem;
	
	
	

}
/**登录注册*/
- (IBAction)loginRegister:(id)sender {
	XMGLoginRegisterController*login=[[XMGLoginRegisterController alloc]init];//自动加载同名的 xib文件
	[self presentViewController:login animated:YES completion:^{
		
	}];
}


-(void)friendsBtnClick{
	XMGRecommendViewController*reVc=[[XMGRecommendViewController alloc]init];
	[self.navigationController pushViewController:reVc animated:YES];
}
@end
